package com.gmadmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gmadmin.entity.UnitOrganization;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UnitOrganizationMapper extends BaseMapper<UnitOrganization> {

    /**
     * 根据用户查询组织
     *
     * @return
     */
    List<UnitOrganization> selectByUserId(@Param("userId") Long userId);
}
